package com.qianji.api;

import com.qianji.pojo.UserDto;
import com.qianji.utils.Result;
import com.qianji.vo.UserAddVO;
import com.qianji.vo.UserUpdateVO;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;

/**
 * @Author 钟丽诗
 * @Date 2021.3.15
 */
@FeignClient(value = "qianji",url = "http://localhost:8888")
public interface UserApps {

/*    @ApiOperation("新增用户")
    @PostMapping("/addUser")
    @ResponseBody
    Result<Integer> addUser(UserAddVO userAddVO);

    Result<Integer> updateUser(UserUpdateVO userUpdateVO);

    List<UserDto> findUser(Long id);*/

}
